package com.pesking.core.sqlparser;

import java.util.ArrayList;
import java.util.List;

import com.pesking.core.parameter.Parameter;

public class SingleFieldListSqlResult extends SqlResult<List<String>> {

	public SingleFieldListSqlResult(Parameter requestParameter) {
		super(requestParameter);
	}

	@Override
	protected List<String> newResult() {
		return new ArrayList<>();
	}

	@Override
	protected void dealColumn(ColumnInfo ci, String columnName, String columnValue) {
		result.add(columnValue);
	}

}
